package com.service;


import com.entity.PostingVisitPrivilege;

/**
 * 权限业务
 *
 * @author lbb
 * @version 1.0
 * @date 2020.3.4
 */
public interface PostingVisitPrivilegeService {
	/**
	 * 添加权限
	 *
	 * @param postingId 帖子ID
	 * @param userIds 用户ID数组
	 * @return Boolean
	 */
	Boolean addPostingVisitPrivilege(Integer postingId, Integer... userIds);
	
	/**
	 * 删除一条权限
	 *
	 * @param postingVisitPrivilege 权限信息
	 * @return Boolean
	 */
	Boolean delPostingVisitPrivilege(PostingVisitPrivilege postingVisitPrivilege);
}
